package adminDynamicEnumModel

import (
	commonModel "gitee.com/krio/ginc/example/internal/common/model/common"
)

const DynamicEnumTableName = "dynamic_enum"

func (*DynamicEnum) TableName() string {
	return DynamicEnumTableName
}

type DynamicEnum struct {
	commonModel.Basic `xorm:"extends"`
	Label             string                 `xorm:"varchar(50) 'label' comment('名称')"`
	Key               string                 `xorm:"varchar(50) 'key' comment('标识')"`
	Remark            string                 `xorm:"varchar(50) 'remark' comment('备注')"`
	Status            commonModel.DataStatus `xorm:"int 'status' comment('状态')"`
}
